Multiparty GV: functional multiparty session types with certified deadlock freedom
نویسندگان
چکیده
Session types have recently been integrated with functional languages, bringing message-passing concurrency to programming. Channel endpoints then become first-class and can be stored in data structures, captured closures, sent along channels. Representatives of the GV (Wadler's "Good Variation") session type family are particular appeal because they not only assert fidelity but also deadlock freedom, inspired by a Curry-Howard correspondence linear logic. A restriction current versions GV, however, is focus on binary sessions, limiting concurrent interactions within two participants. This paper introduces Multiparty (MPGV), language multiparty types, allowing among several MPGV upholds strong guarantees its ancestor including despite interleaving delegation. has novel redirecting construct for modular programming endpoints, thanks which we give type-preserving translation from show that strictly more general than GV. All results this mechanized using Coq proof assistant.
منابع مشابه
Timed Multiparty Session Types
We propose a typing theory, based on multiparty session types, for modular verification of real-time choreographic interactions. To model real-time implementations, we introduce a simple calculus with delays and a decidable static proof system. The proof system with time constraints ensures type safety and time-error freedom, namely processes respect the prescribed timing and causalities betwee...
متن کاملParameterised Multiparty Session Types
For many application-level distributed protocols and parallel algorithms, the set of participants, the number of messages or the interaction structure are only known at run-time. This paper proposes a dependent type theory for multiparty sessions which can statically guarantee type-safe, deadlock-free multiparty interactions among processes whose specifications are parameterised by indices. We ...
متن کاملSynchronous Multiparty Session Types
Synchronous communication is useful to model multiparty sessions where control for timing events and strong sequentially order of messages are essential to the problem specification. This paper continues the work on multiparty session types initiated by Honda et al. [13] for synchronous communications. It provides a more relaxed syntax of the calculus, multicasting, higher-order communication v...
متن کاملMonitoring Networks through Multiparty Session Types
Article history: Received 1 August 2014 Received in revised form 22 November 2016 Accepted 9 February 2017 Available online 27 February 2017 Communicated by V. Sassone
متن کاملAsynchronous Session Types: Exceptions and Multiparty Interactions
Session types are a formalism for structuring communication based on the notion of session: the structure of a conversation is abstracted as a type which is then used as a basis of validating programs through an associated type discipline. While standard session types have proven to be able to capture many real scenarios, there are cases where they are not powerful enough for describing and val...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2022
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3547638